import Vue from 'vue'
import App from './App'

import store from './store'
import mixinOption from './common/js/mixin'
import cusNav from './components/cus-nav.vue'
import VantGreen from 'vant-green'


Vue.use(VantGreen)
Vue.config.productionTip = false

Vue.prototype.$store = store
Vue.prototype.$toast = function(msg){
	uni.showToast({
		title: msg,
		icon: 'none'
	})
}

App.mpType = 'app'

Vue.mixin(mixinOption)
Vue.component('cus-nav', cusNav)
const app = new Vue({
	store,
    ...App
})
app.$mount()
